<?php
namespace app\controller;

use app\controller\Common as commonController;
use hg\apidoc\annotation as Apidoc;

/**
 * 测试首页模块
 * @package app\controller
 */

class Index extends commonController
{
    /**
     * @Apidoc\Title("测试接口")
     * @Apidoc\Desc("引入通用注释所定义的通用参数")
     * @Apidoc\Url("/index")
     * @Apidoc\Method("GET")
     * @Apidoc\Tag("test")
     * @Apidoc\Header(ref="auth")
     * @Apidoc\Param(ref="pagingParam")
     * @Apidoc\Param("page",type="object", ref="pagingParam",desc="分页参数")
     * @Apidoc\Returned("list", type="array",ref="dictionary", desc="字典列表")
     */
    public function index()
    {
        return json([]);
    }
}
